import axios from 'axios'

export const baseUrl = 'http://pcapi-xiaotuxian-front-devtest.itheima.net/'
const instance = axios.create({
    baseUrl,
    timeOut: 5000
})

instance.interceptors.request.use(config => {
    return config
}, error => {
    return Promise.reject(error)
})